package com.yanqu.road.entity.enums;

/**
 * 装备类型
 */
public enum eFellingTreesEquipType {

    /**
     * 普通法宝
     */
    Normal(1),

    /**
     * 灵宝
     */
    SpecialEquip(2),

    /**
     * 道器
     */
    DaoQi(3),

    ;

    private int intValue;

    eFellingTreesEquipType(int value) {
        this.intValue = value;
    }

    public int getValue() {
        return intValue;
    }

    public static eFellingTreesEquipType forValue(int value) {
        for (eFellingTreesEquipType type : eFellingTreesEquipType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
